 /**
 * Description: 数据字典数据访问接口
 * Copyright:Copyright 2018 nfky.com. All rights reserved
 * @author:xk
 * @since:0.0.1
 * Create at:2018-01-17 上午 11:21:47
 *  
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-01-17   xk       0.0.1     Initial
 */
package com.metro.paperless.sys.mapper;

import com.metro.core.dao.IMapper;
import com.metro.paperless.sys.beans.vo.SysDictionary;

 /**
 * 数据字典数据访问接口<br>
 *
 * @author xk
 * @since [0.0.1]
 * @version [0.0.1, 2018-01-17]
 */
public interface ISysDictionaryMapper extends IMapper<SysDictionary>{
    /**
     * 根据内部编码删除子节点
     * @param entity
     */
    void deleteThisAndChild(SysDictionary entity);

     SysDictionary getRootDictionary(SysDictionary entity);
 }
